IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[DeleteLinea]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[DeleteLinea]
GO

CREATE PROCEDURE [dbo].[DeleteLinea]
(
	@IdLinea int
)
AS
BEGIN
	SET NOCOUNT ON

	DELETE FROM [Linea]
	WHERE [IdLinea] = @IdLinea

	SET NOCOUNT OFF
END

GO
